package org.minbox.framework.microservice.gateway;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 统一网关服务启动入口
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
public class GatewayApplication {
    /**
     * logger instance
     */
    static Logger logger = LoggerFactory.getLogger(GatewayApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
        logger.info("统一网关服务启动成功.");
    }
}
